<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ctlFUGridVehiculo.ascx.vb" Inherits="ctlFUGridVehiculo" %>
<table>
  <tr>
    <td>
      <asp:ImageButton ID="btnNidFormatoUnico" runat="server" Width="20px" ImageUrl="~/Imagenes/mas (1).png" ToolTip="Agregar"/>

    </td>
  </tr>
  <tr>
    <td>
        <asp:Label ID="lblMarca" runat="server" Text="Marca" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblModelo" runat="server" Text="Modelo" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblVin" runat="server" Text="Vin" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblFolio" runat="server" Text="Folio" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblFecha_Vigencia_Poliza" runat="server" Text="Fecha_Vigencia_Poliza" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblPoliza" runat="server" Text="Poliza" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblPlaca" runat="server" Text="Placa" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblColor" runat="server" Text="Color" SkinID="LabelCampo"></asp:Label>

    </td>
    <td>
        <asp:Label ID="lblObservaciones" runat="server" Text="Observaciones" SkinID="LabelCampo"></asp:Label>

    </td>
  </tr>
  <tr>
    <td>
      <asp:TextBox ID="txtMarca" runat="server" SkinID="TextBoxCampo" MaxLength="50"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtModelo" runat="server" SkinID="TextBoxCampo" MaxLength="50"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtVin" runat="server" SkinID="TextBoxCampo" MaxLength="18"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtFolio" runat="server" SkinID="TextBoxCampo" MaxLength="15"></asp:TextBox>

    </td>
    <td>
      <ig:WebDatePicker runat="server" ID="txtFecha_Vigencia_Poliza" DisplayModeFormat="dd/MM/yyyy HH:mm:ss" EnableWeekNumbers="true" 
            ChangeMonthToDateClicked="true" EnableMonthDropDown="True" EnableYearDropDown="True" Enabled="true"
            EditModeFormat="dd/MM/yyyy HH:mm:ss" SkinID="WebDatePickerCampo"></ig:WebDatePicker>

    </td>
    <td>
      <asp:TextBox ID="txtPoliza" runat="server" SkinID="TextBoxCampo" MaxLength="20"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtPlaca" runat="server" SkinID="TextBoxCampo" MaxLength="20"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtColor" runat="server" SkinID="TextBoxCampo" MaxLength="20"></asp:TextBox>

    </td>
    <td>
      <asp:TextBox ID="txtObservaciones" runat="server" SkinID="TextBoxCampo" MaxLength="250"></asp:TextBox>

    </td>
  </tr>
  <tr>
    <td>
      <asp:GridView ID="gdvNid" runat="server" CssClass="GridViewStyle" HeaderStyle-CssClass="HeaderStyle" PagerStyle-CssClass="PagerStyle" RowStyle-CssClass="RowStyle"
                AlternatingRowStyle-CssClass="AltRowStyle" AutoGenerateColumns="False" AllowPaging="True" onrowcommand="gdvNid_RowCommand">
    <AlternatingRowStyle CssClass="AltRowStyle"></AlternatingRowStyle>
    <Columns>
        <asp:BoundField DataField="nid" HeaderText="nid" />
      <asp:BoundField DataField="nidFormatoUnico" HeaderText="nidFormatoUnico" />
      <asp:BoundField DataField="nidMarca" HeaderText="nidMarca" />
      <asp:BoundField DataField="nidModelo" HeaderText="nidModelo" />
      <asp:BoundField DataField="vin" HeaderText="vin" />
      <asp:BoundField DataField="folio" HeaderText="folio" />
      <asp:BoundField DataField="fecha_Vigencia_Poliza" HeaderText="fecha_Vigencia_Poliza" />
      <asp:BoundField DataField="poliza" HeaderText="poliza" />
      <asp:BoundField DataField="placa" HeaderText="placa" />
      <asp:BoundField DataField="color" HeaderText="color" />
      <asp:BoundField DataField="observaciones" HeaderText="observaciones" />
      <asp:BoundField DataField="marca" HeaderText="marca" />
      <asp:BoundField DataField="modelo" HeaderText="modelo" />
      
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Button id="btnEditar" runat="server" Text="Editar" CommandArgument="<%# CType(Container,GridViewRow).RowIndex %>" CommandName="Editar" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Button id="btnCopiar" runat="server" Text="Copiar" CommandArgument="<%# CType(Container,GridViewRow).RowIndex %>" CommandName="Copiar" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Button id="btnEliminar" runat="server" Text="Eliminar" CommandArgument="<%# CType(Container,GridViewRow).RowIndex %>" CommandName="Eliminar" />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
    <PagerStyle CssClass="PagerStyle"></PagerStyle>
    <RowStyle CssClass="RowStyle"></RowStyle>
  </asp:GridView>

    </td>
  </tr>
</table>
